<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="zh-CN" class="bootstrap-admin-vertical-centered">
<head>
<meta charset="UTF-8">
<title>学霸一帮一</title>

<script type="text/javascript">
	function changeValidateCode(obj) {
		//每次请求用当前时间作为参数，防止浏览器使用缓存数据
		var timeNow = new Date().getTime();
		obj.src = "CodeServlet?time=" + timeNow;
		document.getElementById('code').value = "";
	}
</script>
<style>
body {
	background-image: url("3.jpg");
}
</style>
</head>

<style type="text/css">
.alert {
	margin:10px 20px;
	text-align: center;
	font-size: 2.0em;
}
</style>
<body class="bootstrap-admin-without-padding">
	<div class="container">
		<div class="row">
			<div class="col-lg-12">
				<div class="alert alert-info">
					<a class="close" data-dismiss="alert" href="#"></a>
				登录
				</div>
				<form class="bootstrap-admin-login-form" method="post"
					action="/books/LoginServlet">		
					<div style="margin-top;text-align: center" >
					<div class="form-group">
						<label class="control-label" for="username">用户名：</label> <input
							type="text" class="form-control" id="username" name="username"
							required="required" placeholder="学号/工号" /> <label
							class="control-label" for="username" style="display: none;"></label>
					</div>
					<br>
					<div class="form-group">
						<label class="control-label" for="password">密&nbsp;&nbsp;&nbsp;&nbsp;码：</label> <input
							type="password" class="form-control" id="password"
							name="password" required="required" placeholder="密码" /> <label
							class="control-label" for="username" style="display: none;"></label>
					</div>

					<label class="control-label" for="password">没有账号请<a
						href="注册.jsp" style="color: blue;">注册</a></label><br> <input
						type="submit" class="btn btn-lg btn-primary"
						value="登&nbsp;&nbsp;&nbsp;&nbsp;录" />
				</div>
				</form>
			</div>
		</div>
	</div>
</body>
</html>